package com.codelab.statemachine.task;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
public class CommonTask implements Task{

    private String id;

    private Map params;

    private double weight = 0;

    private double progress = 0;

    private String taskCode;

    private String pId;

    List<Task> childsTask = new ArrayList<>();

    private String status;

    private String message;
}
